package tools.encrypt;

import lombok.Data;
import lombok.ToString;
import tools.encrypt.v2.Sensitive;
import tools.encrypt.v2.SensitiveTypeEnum;

import java.util.List;
import java.util.Map;

/**
 * @Author: SunAo
 * @Date: 2020/11/20 17:43
 * @Description:
 */
@ToString
@Data
public class Person {

    private String name;
    @Sensitive(SensitiveTypeEnum.MOBILE)
    private String phone;
    private Integer age;
    @Sensitive(SensitiveTypeEnum.ADDRESS)
    private String address;

    private long code;

    private Person wife;

    private List<Person> sunList;

    private Map<String,Person> parent;

}
